package testGUI;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JTextArea;
import java.awt.BorderLayout;
import javax.swing.JScrollPane;

public class UpdateAlerts {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UpdateAlerts window = new UpdateAlerts();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public UpdateAlerts() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 300);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JScrollPane scrollPane = new JScrollPane();
		frame.getContentPane().add(scrollPane, BorderLayout.CENTER);
		
		JTextArea txtrXvdsgSedgfSd = new JTextArea();
		txtrXvdsgSedgfSd.setText("xvdsg\r\nsedgf\r\nsd\r\ngsed\r\ngsd\r\ng\r\nsg\r\nsdfg\r\nsdf\r\nsd\r\nfg\r\nsdg\r\nsdg\r\nsdg");
		scrollPane.setViewportView(txtrXvdsgSedgfSd);
	}

	public void setVisible(boolean b) {
		// TODO Auto-generated method stub
		
	}

}
